<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>目录页面</h1>
<nl>
    {% for chapter in chapters %}
        <li>
            <a href="{{ url_for('novel.content',chapter_id=chapter.id) }}">{{ chapter.chapter_name }}</a>
        </li>
    {% endfor %}
</nl>
</body>
</html>